Discover fsockopen unable to connect, include the articles, news, trends, analysis and practical advice about fsockopen unable to connect on alibabacloud.com
The port is already in the listening status. Why does fsockopen still fail to be viewed using the netstat-a command? TCP0.0.0.0: 2012www: 0LISTENING is accessed using PHPsocket. the code is as follows: PHPcode $ fpfsockopen (202.117.xxx.xxx, $ the
Port is already in listening state, why Fsockopen will fail
View with netstat-a command, display TCP 0.0.0.0:2012 www:0 LISTENING
But with the PHP socket access, the code is as follows:
PHP Code
$fp = Fsockopen (' 202.117.xxx.xxx ', $errno,
2 Kinds of possibilities 1. Tip "Unable to connect because the target machine is actively rejecting. (10061) ". It's a damn thing. McAfee, remove the antivirus standard protection from Access Protection = "Prevent mass mail worms from sending
Cause analysisIf this problem occurs, the name of the SMTP host cannot be resolved.Solution: It depends on the email payment does not support sending and receiving mails by pop3. This can be viewed officially by email, such as QQ mail.Phpmailer
When PHPMailer sends an email, the host cannot be connected (CouldnotconnecttoSMTPhost ). PhpPHPMailer sends an Email and cannot connect to the host. this is because the fsockopen function is disabled. PHPmailer sends an Email based on this function.
PHPMailer cannot send emails. PHPMailer can send emails. PHPMailer cannot send emails, and PHPMailer cannot connect to the SMTP server. it has nothing to do with modifying the SMTP case (2011-10-22:17:35). reprinted the authorization label:
PHPMailer cannot send emails. PHPMailer can send emails.
PHPMailerYou cannot connect to the SMTP server. It is irrelevant to modifying SMTP case sensitivity.
(12:17:35)
Reprinted token
PhpPhpmailerMiscellaneous
Category: Default category
Problem description: The boss told me a problem they encountered two days ago. php started with fastcgi and opened the slowlog. When fsockopen was called to read a connection, when the connection exceeds the slowlog setting time, the fpm process
When you are still in the tangle php built-in mail () function can not send mail, then you are very lucky now, this article can help you!
PHP uses the SMTP class to send mail is very good, I used a long time, basically did not have a problem. This
Before doing a project to do a phpmailer to send mail with the function of "CI framework combined with phpmailer send mail", yesterday step on the line (just start with Sina cloud, too expensive, replaced by Ali), the test, send an email
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.